.main {
  overflow: inherit;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(234, 234, 234, 0.7);

  .swapper {
    width: 100%;

    .content {
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #fff;

      background-size: cover;
      background-position: center center;

      .typed {
        height: 27px;
      }

      div {
        margin: 20px;
        z-index: 2;
      }

      div:nth-child(1) {
        font-size: 2.6rem;
      }
      div:nth-child(2) {
        font-weight: 300;
        font-size: 1.25rem;
        color: #eee;
      }
    }

    .content::before {
      content: '';
      position: absolute;
      z-index: 1;
      width: 100%;
      height: 100%;
      display: block;
      left: 0;
      top: 0;
      background-color: rgba(0, 0, 0, 0.3);
    }
  }

  .book {
    margin-top: 20px;
    margin-bottom: 20px;
    .box-card {
      width: 1125px;
      display: flex;
      flex-direction: column;
      align-items: center;

      text-align: center;
      color: #34495e;

      .bookcontent {
        margin: 20px;

        .bookcontent-title {
          margin-bottom: 20px;
          font-size: 2rem;
          font-weight: 700;
        }

        .bookcontent-content {
          padding: 40px 183px;
          opacity: 0.6;
          font-size: 1.1rem;
        }
      }

      .bookupdata {
        margin-bottom: 20px;
        font-size: 2rem;
        font-weight: 700;
      }

      .bookitem {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;

        .bookbox {
          width: 44%;
          height: 300px;
          margin: 15px 0;

          .boxcard {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 10px;

            background-size: cover;
            background-position: center center;

            .bookitem-card-tag {
              color: hsla(0, 0%, 100%, 0.7) !important;
              font-size: 0.75rem;
              font-weight: 500;
              z-index: 1;

              margin: 10px;
            }

            .bookitem-card-title {
              color: #fff;
              font-size: 1.6rem;
              font-weight: bold;
              z-index: 1;

              margin: 20px;
            }

            .bookitem-card-sectitle {
              color: hsla(0, 0%, 100%, 0.7) !important;
              font-size: 0.75rem;
              font-weight: 500;
              z-index: 1;
            }

            .bookitem-card-button {
              margin-top: auto;
              z-index: 1;
            }

            .more-button-show {
              z-index: 2;
              display: inline-block;
              font-size: 0.9rem;
              height: 38px;
              line-height: 38px;
              padding: 0 15px;
              border-radius: 30px;
              cursor: pointer;
              border: 1px solid #f44336;
              color: white;
              background-color: #f44336;
              box-shadow: 0 14px 26px -12px rgba(233, 30, 98, 0.315),
                0 4px 23px 0 rgba(0, 0, 0, 0.137),
                0 8px 10px -5px rgba(233, 30, 98, 0.253);
            }
          }

          .boxcard::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            display: block;
            left: 0;
            top: 0;
            background-color: rgba(0, 0, 0, 0.3);
          }
        }
      }
    }
  }

  .grid {
    width: 1125px;
    margin: 10px 0;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;

    .grid-card-box {
      width: 350px;
      height: 440px;
      margin-top: 23px;

      .grid-card {
        height: 100%;
        border-radius: 8px;
        border: 0;

        .grid-card-bg {
          height: 220px;
          width: 100%;
          color: white;
          position: relative;
          background-color: #222;
          border-radius: 8px;

          .grid-card-bg-img {
            opacity: 0.7;
            object-fit: cover;
            display: block;
            height: 220px;
            width: 100%;
          }
          .grid-card-bg-text {
            color: #fff;
            position: absolute;
            bottom: 0;
            left: 0;
            max-width: 100%;
            padding: 24px;
            font-size: 24px;
            font-weight: 300;
          }
        }

        .grid-card-con {
          height: 50%;
          width: 100%;
          color: #34495e;
          font-size: 15px;

          .grid-card-con-text {
            padding: 20px;
          }
          .grid-card-con-time {
            padding: 0 20px 20px 20px;
          }
          .grid-card-con-tag {
            padding: 0 20px 20px 20px;

            span {
              font-size: 0.8rem;
              font-weight: 400;
              height: 22px;
              line-height: 22px;
              color: #fff;

              background-image: linear-gradient(
                to right,
                #009688 0,
                #5fb878 100%
              );
              opacity: 0.7;

              display: inline-block;

              padding: 0 12px;
              border-radius: 15px;
            }

            span:not(:first-child) {
              margin-left: 5px !important;
            }
          }
        }
      }
    }

    :nth-child(1) {
      margin-top: 0 !important;
    }
    :nth-child(2) {
      margin-top: 0 !important;
    }
    :nth-child(3) {
      margin-top: 0 !important;
    }
  }

  .page {
    height: 60px;
    width: 1125px;
    margin: 5px 0 15px 0;
    display: flex;
    justify-content: space-between;

    .page-button {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #26a69a;
      color: #fff;
      margin: 0 12px;

      display: flex;
      justify-content: center;
      align-items: center;

      cursor: pointer;

      i {
        font-size: 1.7rem;
        // color: #fff;
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
      }
    }

    .page-button-no {
      background-color: #ccc;
      color: #9f9f9f;
      cursor: default;
    }

    .page-num {
      height: 60px;
      line-height: 60px;
      font-size: 1.4rem;
      color: #888;
    }
  }
}

/deep/.el-carousel__button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
}

.more-button {
  display: inline-block;
  font-size: 1rem;
  height: 45px;
  border: 1px solid #fff;
  line-height: 45px;
  padding: 3px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease-out;
}

.more-button:hover {
  border: 1px solid #f44336;
  background-color: #f44336;
  box-shadow: 0 14px 26px -12px rgba(233, 30, 98, 0.315),
    0 4px 23px 0 rgba(0, 0, 0, 0.137), 0 8px 10px -5px rgba(233, 30, 98, 0.253);
}
